﻿@model _PLATFORM.DATA.FITTING_TYPE_ASSET

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>FITTING_TYPE_ASSET</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.FITTING_TYPE_ASSET_ID, "FITTING_TYPE")
        </div>
        <div class="editor-field">
            @Html.DropDownList("FITTING_TYPE_ASSET_ID", String.Empty)
            @Html.ValidationMessageFor(model => model.FITTING_TYPE_ASSET_ID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FITTING_TYPE_ID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FITTING_TYPE_ID)
            @Html.ValidationMessageFor(model => model.FITTING_TYPE_ID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NAME)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NAME)
            @Html.ValidationMessageFor(model => model.NAME)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IMAGE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IMAGE)
            @Html.ValidationMessageFor(model => model.IMAGE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.USER_ID, "FRAMEWORK_USER")
        </div>
        <div class="editor-field">
            @Html.DropDownList("USER_ID", String.Empty)
            @Html.ValidationMessageFor(model => model.USER_ID)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
